HTMLify
style.css
Views: 13 | Author: huxn-webdev
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | * { margin: 0; padding: 0; font-family: sans-serif; box-sizing: border-box; } body { display: flex; justify-content: center; align-items: center; min-height: 100vh; } .wrapper { max-width: 80%; background: #c81a54; padding: 7rem 8rem; } .wrapper h1 { color: #fff; font-size: 33px; font-weight: 500; text-align: center; } .wrapper .captcha-area { display: flex; align-items: center; justify-content: center; height: 65px; margin: 30px 0 20px; } .captcha-area .captcha-container { height: 100%; width: 350px; user-select: none; background: #000; position: relative; border-radius: 5px; } .captcha-container .captcha { position: absolute; left: 60%; top: 50%; width: 100%; color: #fff; font-size: 35px; letter-spacing: 10px; transform: translate(-50%, -50%); text-shadow: 0 0 2px #b1b1b1; font-family: sans-serif; } .wrapper button { border: none; outline: none; color: #041897; background-color: #fff; cursor: pointer; } .captcha-area .reload-btn { border-radius: 5px; width: 75px; height: 100%; font-size: 23px; margin-left: 20px; } .captcha-area i { transition: transform 0.3s ease; } .input-area .reload-btn:hover i { transform: rotate(15deg); } .wrapper .input-area { height: 60px; width: 100%; position: relative; } .input-area input { height: 100%; width: 100%; outline: none; font-size: 20px; padding-left: 20px; border-radius: 5px; border: 1px solid #bfbfbf; } .input-area .check-btn { position: absolute; right: 7px; top: 50%; font-size: 17px; height: 45px; padding: 0 20px; opacity: 0; pointer-events: none; background: #041897; color: #fff; transform: translateY(-50%); } .input-area input:valid + .check-btn { opacity: 1; pointer-events: auto; } .wrapper .status-text { display: none; font-size: 18px; color: #ff0000; text-align: center; margin: 20px 0 -5px 0; } |